# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=font-anonymous-pro
pkgver=1.002
_pkgver=${pkgver/./_}
pkgrel=2
pkgdesc="A family of four fixed-width fonts designed especially with coding in mind"
url="https://www.marksimonson.com/fonts/view/anonymous-pro"
arch="noarch"
license="OFL-1.1"
depends="fontconfig"
options="!check" # no tests
source="https://www.marksimonson.com/assets/content/fonts/AnonymousPro-$_pkgver.zip"
builddir="$srcdir/AnonymousPro-$pkgver.001"

provides="ttf-anonymous-pro=$pkgver-r$pkgrel"
replaces="ttf-anonymous-pro"

build() {
	:
}

package() {
	install -Dm644 "$builddir"/*.ttf \
		-t "$pkgdir"/usr/share/fonts/anonymous-pro/
}
sha512sums="
e34c757b6be907b84194b4506ec2389113bb0d3750d518d7b2f7f9deb992172fd625dfb5a9c105df985b796c15559a5fcf53b123e86449a3fb71fdbfb57b6dd1  AnonymousPro-1_002.zip
"
